linq find object from id

105

linq find object from id -

MyObject myObject = collectionMyObject.FirstOrDefault(o => o.Items != null && o.Items.Any(io => io.Id == 2));

Comments

Submit
0 Comments